package cn.gcyl.module.biz.controller.admin.platformregistrationinformation.vo;

import cn.gcyl.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.gcyl.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 平台报名信息分页 Request VO")
@Data
public class PlatformUserRegistrationInformationPageReqVO extends PageParam {

    @Schema(description = "报名id", example = "13248")
    private Long id;
    @Schema(description = "平台信息id", example = "13248")
    private Long platformInformationId;
    @Schema(description = "用户id", example = "13248")
    private Long userId;
    @Schema(description = "用户手机号", example = "13248")
    private String mobile;

    @Schema(description = "标题")
    private String title;
    @Schema(description = "用户昵称")
    private String nickname;

    @Schema(description = "所属栏目", example = "13248")
    private String titleType;
    @Schema(description = "是否查看(0未查看 1已查看)")
    private Integer isView;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}